#ifndef KERNEL_LIBRARY_H
#define KERNEL_LIBRARY_H

#include "../hle.h"

void sceKernelCpuSuspendIntr();
void sceKernelCpuResumeIntr();
void sceKernelCpuResumeIntrWithSync();
void sceKernelIsCpuIntrEnable();
void sceKernelMemset();
void sceKernelLockLwMutex();
void sceKernelUnlockLwMutex();

LIB_START(Kernel_Library)
LIB_ADDFUNC(0x092968f4, sceKernelCpuSuspendIntr)
LIB_ADDFUNC(0x5f10d406, sceKernelCpuResumeIntr)
LIB_ADDFUNC(0x3b84732d, sceKernelCpuResumeIntrWithSync)
LIB_ADDFUNC(0xb55249d2, sceKernelIsCpuIntrEnable)

LIB_ADDFUNC(0xa089eca4, sceKernelMemset)

LIB_ADDFUNC(0xbea46419, sceKernelLockLwMutex)
LIB_ADDFUNC(0x15b6446b, sceKernelUnlockLwMutex)
LIB_END

#endif

